// pages/quantu/quantu.js
Page({

 
  data: {       goods_id:'',near_id:'',type:''

  },

  onLoad: function (options) {
            this.setData({goods_id:options.goods_id,near_id:options.near_id,type:options.type})
  },

  paizhao(){
    wx.chooseImage({
      count:1,
      success: (res) => {
        console.log(res);
        
        wx.navigateTo({
          url: '/pages/edit6/edit6?near_id='+this.data.near_id+"&goods_id="+this.data.goods_id+'&url='+res.tempFiles[0].path+"&type="+this.data.type,
        })
      },
    })
 }
})